home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
EnigmA Amiga Run 1996 February
/
EnigmA AMIGA RUN 04 (1996)(G.R. Edizioni)(IT)[!][issue 1996-02][Skylink CD III].iso
/
earcd
/
comm2
/
toymen20.lha
/
ToyMenu
/
Docs
/
ToyBytes.doc
next >
Wrap
Text File
|
1995-12-16
|
3KB
|
81 lines
__ __ ________
_ ___/ \___ _______ ___/ \___ (d!) _ \ /____
\\__ __/_______\_ /_\__ __/_________ \ \ _/ /_____
/ ¬\ _ / / ¬\/ ¬\ _ /______/_ ` / ,__/___ _
/ · / /____, \_ · / / _ /\_____/\___ .://
· \_____/ /______/ \_____/\ / / _ _ / /
\_____/ \______/
·)^» ToyBytes v1.O for DayDream BBS «^(·
Today's uploads counter for ToyMenu v2.O
Programmed by Joo/ToyTools with ASM-One v1.28 by T.F.A.
Introduction:
ToyBytes is a small command which counts today's uploaded bytes & files.
It's designed to be used with ToyMenu v2.O, but if you find any other usage
for it, go ahead. With ToyMenu & ToyBytes, you'll see today's uploaded
bytes and/or files in the conference selector.
How to install ToyBytes:
- ToyBytes can be put anywhere. I have it in "DayDream:Utils/".
- You need to make a "config" file for ToyBytes. This config is just a text
file which can have four types of keywords in it.
%nF outputs uploaded files in conference n (e.g. %2F).
%nB outputs uploaded bytes in conference n (e.g. %2B).
%nK outputs uploaded kilobytes in conference n (e.g. %2K).
%nM outputs uploaded megabytes in conference n (e.g. %2M).
So, use ansi-codes to jump to right place at the screen. Then just use
the "%nF", "%nB", "%nK" and "%nM" keywords to output the number of
uploaded files, bytes etc.
You don't have to put all conferences in the config, e.g. just put those
which are public and have fileares.
Example: (I removed the escapes)
-----cut here-----------------------------------------------cut here-----
[36m[16;56H%2F[16;60H%2B
[36m[18;56H%4F[18;60H%4B
-----cut here-----------------------------------------------cut here-----
- Let's imagine that the first conf is a "new users"-conference and you
don't want to display it's uploaded bytes.
- The next is the main conf in your board, "amiga wares". So here we
use the keywords.
- The third conf is an adverts conf, no files here.
- And the forth is a request conf, again we use the keywords.
- Note that the linefeed between the two confs is in fact useless,
it's just there to help editing the lines.
- Run ToyBytes in DayDream's logoff batch or somewhere where it will be
updated after each user or upload.
USAGE: ToyBytes <CONFIG> <REPORT>
My own usage is:
DayDream:Utils/ToyBytes DayDream:Configs/ToyBytes.CFG DayDream:Display/ISO/ToyBytes.GFX
- Then just display the report in ToyMenu (add a line to ToyMenu.GFX):
ÿBDayDream:Display/ISO/ToyBytes.GFX|
... to contact ToyTools, you can call my board ...
_ _ _ __ _ _ __ _ _ _
\\___ ____ __ ___ ___ ____ ____ ____ __ __ . ___ ____ ____ ___//
\_ \ /·(_/_·\__'·\ '·\__/·\ /·\__/·\ | /·|·\__'·\__/·\ / _/
_ _ _¦__ _ _ __¦_ _ _
\\_ daydreaming on a123O/5Omhz/1Omb/2.1gb/v34/hydra _//
- - ---+- amiga wares · programming · guitar · toytools -+--- - -
¦:. .:¦
`----- - - - - --> +358-72-5512972 <-- - - - - -----'